package vn.cent.games.findnumber.utils;

import java.util.List;
import java.util.TimerTask;

import vn.cent.games.findnumber.main.FindNumberExtension;

import com.smartfoxserver.v2.entities.User;

public class SyncGameStart extends TimerTask{

	/** Game players */
	private List<User> players = null;
	
	private FindNumberExtension gameExt = null;
	
	public SyncGameStart(List<User> players, FindNumberExtension gameExt) {
		this.players = players;
		this.gameExt = gameExt;
	}
	
	@Override
	public void run() {
		gameExt.startGame(players);
	}

}
